package com.satan.elasticsearch.dto.req;

import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

/**
 * @Author: Demon
 * @Date: 2024/2/17 11:22
 * @Description:
 **/
@Data
public class HotelSearchReqDto extends PageReqDto{
    @Parameter(description = "关键字")
    private String key;
    @Parameter(description = "排序方式")
    private String sortBy;
    // 下面是新增的过滤条件参数
    @Parameter(description = "城市")
    private String city;
    @Parameter(description = "品牌")
    private String brand;
    @Parameter(description = "星级")
    private String starName;
    @Parameter(description = "最低价格")
    private Integer minPrice;
    @Parameter(description = "最高价格")
    private Integer maxPrice;
    @Parameter(description = "地理位置")
    private String location;
}
